package cn.liujianbo.example.springbean.bean4.component;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 刘建波
 * @date 2021-10-10 20:14
 */
@ComponentScan("cn.liujianbo.example.springbean.bean4")
public class AppConfig {
    @Bean
    public OrderService orderService(){
        return new OrderService();
    }
}
